package com.lagou;/*
 *Author:cxz
 *@Date:${Date}
 */

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName UserFegin
 * @Description
 * @Author cxz
 * @Date 2020/7/8 15:52
 * Version V1.0
 */
@FeignClient(value = "lagou-service-email")
public interface UserFegin {

    @RequestMapping("/email/{email}/{code}")
    public String sendEmail(@PathVariable("email") String email, @PathVariable("code") String code);

}
